﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Abp.Migration
{
    /// <summary>
    /// 注释提供者接口
    /// </summary>
    public interface IAnnotationProvider
    {
        /// <summary>
        /// 提供表注释
        /// </summary>
          /// <param name="schema">构架</param>
        /// <param name="tableName">表名</param>
        /// <param name="description">注释</param>

        /// <returns></returns>
        string GetTableAnnotation(string schema,string tableName, string description);
        /// <summary>
        /// 提供列注释
        /// </summary>
         /// <param name="schema">构架</param>
        /// <param name="tableName">表名</param>
        /// <param name="columnName">列名</param>
        /// <param name="description">注释</param>

        /// <returns></returns>
        string GetColumnAnnotation(string schema,string tableName,string columnName, string description);
    }
}
